@import '~ant-design-vue/dist/antd.less';
@import 'scrollbar.less';
@import 'global-header.less';
@import '_var.less';
#app {
  overflow: hidden;
}
.colorWeak {
  filter: invert(80%);
}
.disable-color {
  color: @disabled-color !important;
  cursor: not-allowed;
}
.f-title {
  font-size: @font-size-lg;
  font-weight: 500;
  color: @heading-color;
  line-height: 32px;
}
.page-view-header {
  margin: -20px 0 0 -20px;
  .ant-page-header-heading-title {
    font-size: 24px;
  }
}
.border-sider {
  border-right: 1px solid @border-color-base;
}
.table-border {
  border: 1px solid @border-color-base;
  .ant-table-placeholder {
    border-bottom: none;
  }
}

//.ant-table-row-level-1 {
//  background: #fafafa;
//}

// diit-card
.diit-card {
  height: 100%;
  .ant-card-body {
    overflow: auto;
    height: calc(100% - 56px);
  }
}
// diit-tree
.diit-tree {
  position: relative;
  .ant-tree-treenode-selected {
    & > .ant-tree-switcher {
      position: relative;
      z-index: 3;
      color: #ffffff;
    }
  }
  li .ant-tree-node-content-wrapper.ant-tree-node-selected {
    background: #ffffff;
    &::before {
      position: absolute;
      right: 0;
      left: 0;
      height: 24px;
      background: @primary-color;
      transition: all 0.3s;
      content: '';
    }
    & > .ant-tree-title {
      position: relative;
      color: #ffffff;
    }
  }
}
// 头部搜索
.table-page-search-wrapper .ant-form-inline .ant-form-item {
  display: flex;
  margin-right: 0;
  margin-bottom: 16px;
}
.table-page-search-wrapper .ant-form-inline .ant-form-item .ant-form-item-control-wrapper {
  flex: 1 1;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
}
.table-page-search-wrapper .ant-form-inline .ant-form-item .ant-form-item-control {
  height: 34px;
  line-height: 32px;
}
.table-page-search-wrapper .ant-form-inline .ant-form-item>.ant-form-item-label {
  padding-right: 8px;
  width: auto;
  line-height: 32px;
}
.table-operation {
  padding-bottom: 16px;
}
